package c.a.a.d0;

import c.a.a.d0.h0.c.a;
import c.j.a.d.b.d.p;

/* compiled from: AnimatableTransformParser */
public class c {
    public static a a = a.a("a", p.a, "s", "rz", "r", "o", "so", "eo", "sk", "sa");
    public static a b = a.a("k");

    /* JADX WARNING: Removed duplicated region for block: B:106:0x021c  */
    /* JADX WARNING: Removed duplicated region for block: B:105:0x0219  */
    /* JADX WARNING: Removed duplicated region for block: B:85:0x01cb  */
    /* JADX WARNING: Removed duplicated region for block: B:84:0x01c8  */
    /* JADX WARNING: Removed duplicated region for block: B:94:0x01f0  */
    /* JADX WARNING: Removed duplicated region for block: B:102:0x0214  */
    /* JADX WARNING: Removed duplicated region for block: B:96:0x01f3  */
    /* JADX WARNING: Removed duplicated region for block: B:105:0x0219  */
    /* JADX WARNING: Removed duplicated region for block: B:106:0x021c  */
    /* JADX WARNING: Missing block: B:18:0x005c, code skipped:
            r5 = b.i.b.f.L0(r0, r8, r10);
     */
    /* JADX WARNING: Missing block: B:19:0x0066, code skipped:
            if (r5.a.isEmpty() == false) goto L_0x009b;
     */
    /* JADX WARNING: Missing block: B:20:0x0068, code skipped:
            r9 = r1;
            r12 = r5.a;
            r10 = r5;
            r26 = r6;
            r18 = r13;
            r13 = r7;
            r1 = new c.a.a.f0.a(r28, java.lang.Float.valueOf(0.0f), java.lang.Float.valueOf(0.0f), null, 0.0f, java.lang.Float.valueOf(r8.l));
            r12.add(r9);
     */
    /* JADX WARNING: Missing block: B:21:0x009b, code skipped:
            r10 = r5;
            r26 = r6;
            r18 = r13;
            r13 = r7;
     */
    /* JADX WARNING: Missing block: B:22:0x00ac, code skipped:
            if (((c.a.a.f0.a) r10.a.get(0)).b != null) goto L_0x00d2;
     */
    /* JADX WARNING: Missing block: B:23:0x00ae, code skipped:
            r10.a.set(0, new c.a.a.f0.a(r28, java.lang.Float.valueOf(0.0f), java.lang.Float.valueOf(0.0f), null, 0.0f, java.lang.Float.valueOf(r8.l)));
     */
    /* JADX WARNING: Missing block: B:24:0x00d2, code skipped:
            r1 = r10;
     */
    /* JADX WARNING: Missing block: B:25:0x00d3, code skipped:
            r6 = r26;
     */
    /* JADX WARNING: Missing block: B:36:0x0114, code skipped:
            r7 = r13;
     */
    /* JADX WARNING: Missing block: B:37:0x0115, code skipped:
            r13 = r18;
            r10 = false;
     */
    /* JADX WARNING: Missing block: B:80:0x01c0, code skipped:
            if (r0 != null) goto L_0x01c5;
     */
    /* JADX WARNING: Missing block: B:99:0x020e, code skipped:
            if (((java.lang.Float) ((c.a.a.f0.a) r12.a.get(0)).b).floatValue() == 0.0f) goto L_0x0216;
     */
    public static c.a.a.b0.j.l a(c.a.a.d0.h0.c r27, c.a.a.f r28) throws java.io.IOException {
        /*
        r0 = r27;
        r8 = r28;
        r1 = r27.u0();
        r2 = c.a.a.d0.h0.c.b.BEGIN_OBJECT;
        r10 = 0;
        if (r1 != r2) goto L_0x000f;
    L_0x000d:
        r11 = 1;
        goto L_0x0010;
    L_0x000f:
        r11 = 0;
    L_0x0010:
        if (r11 == 0) goto L_0x0015;
    L_0x0012:
        r27.o();
    L_0x0015:
        r1 = 0;
        r6 = 0;
        r7 = 0;
        r13 = 0;
        r14 = 0;
        r15 = 0;
        r21 = 0;
        r22 = 0;
        r23 = 0;
    L_0x0021:
        r2 = r27.t();
        r3 = 0;
        if (r2 == 0) goto L_0x011a;
    L_0x0028:
        r2 = a;
        r2 = r0.w0(r2);
        switch(r2) {
            case 0: goto L_0x00ee;
            case 1: goto L_0x00e5;
            case 2: goto L_0x00d6;
            case 3: goto L_0x0057;
            case 4: goto L_0x005c;
            case 5: goto L_0x0052;
            case 6: goto L_0x004d;
            case 7: goto L_0x0048;
            case 8: goto L_0x0043;
            case 9: goto L_0x003e;
            default: goto L_0x0031;
        };
    L_0x0031:
        r26 = r6;
        r18 = r13;
        r13 = r7;
        r27.x0();
        r27.y0();
        goto L_0x0115;
    L_0x003e:
        r13 = b.i.b.f.L0(r0, r8, r10);
        goto L_0x0021;
    L_0x0043:
        r14 = b.i.b.f.L0(r0, r8, r10);
        goto L_0x0021;
    L_0x0048:
        r23 = b.i.b.f.L0(r0, r8, r10);
        goto L_0x0021;
    L_0x004d:
        r22 = b.i.b.f.L0(r0, r8, r10);
        goto L_0x0021;
    L_0x0052:
        r21 = b.i.b.f.M0(r27, r28);
        goto L_0x0021;
    L_0x0057:
        r1 = "Lottie doesn't support 3D layers.";
        r8.a(r1);
    L_0x005c:
        r5 = b.i.b.f.L0(r0, r8, r10);
        r1 = r5.a;
        r1 = r1.isEmpty();
        if (r1 == 0) goto L_0x009b;
    L_0x0068:
        r4 = r5.a;
        r2 = new c.a.a.f0.a;
        r16 = java.lang.Float.valueOf(r3);
        r17 = java.lang.Float.valueOf(r3);
        r18 = 0;
        r19 = 0;
        r1 = r8.l;
        r20 = java.lang.Float.valueOf(r1);
        r1 = r2;
        r3 = r2;
        r2 = r28;
        r9 = r3;
        r3 = r16;
        r12 = r4;
        r4 = r17;
        r10 = r5;
        r5 = r18;
        r26 = r6;
        r6 = r19;
        r18 = r13;
        r13 = r7;
        r7 = r20;
        r1.m782init(r2, r3, r4, r5, r6, r7);
        r12.add(r9);
        goto L_0x00d2;
    L_0x009b:
        r10 = r5;
        r26 = r6;
        r18 = r13;
        r13 = r7;
        r1 = r10.a;
        r2 = 0;
        r1 = r1.get(r2);
        r1 = (c.a.a.f0.a) r1;
        r1 = r1.b;
        if (r1 != 0) goto L_0x00d2;
    L_0x00ae:
        r9 = r10.a;
        r12 = new c.a.a.f0.a;
        r4 = java.lang.Float.valueOf(r3);
        r5 = java.lang.Float.valueOf(r3);
        r6 = 0;
        r7 = 0;
        r1 = r8.l;
        r19 = java.lang.Float.valueOf(r1);
        r1 = r12;
        r2 = r28;
        r3 = r4;
        r4 = r5;
        r5 = r6;
        r6 = r7;
        r7 = r19;
        r1.m782init(r2, r3, r4, r5, r6, r7);
        r1 = 0;
        r9.set(r1, r12);
    L_0x00d2:
        r1 = r10;
    L_0x00d3:
        r6 = r26;
        goto L_0x0114;
    L_0x00d6:
        r18 = r13;
        r13 = r7;
        r6 = new c.a.a.b0.j.g;
        r2 = c.a.a.d0.z.a;
        r2 = b.i.b.f.I0(r0, r8, r2);
        r6.m7886init(r2);
        goto L_0x0114;
    L_0x00e5:
        r26 = r6;
        r18 = r13;
        r7 = c.a.a.d0.a.b(r27, r28);
        goto L_0x0115;
    L_0x00ee:
        r26 = r6;
        r18 = r13;
        r13 = r7;
        r27.o();
    L_0x00f6:
        r2 = r27.t();
        if (r2 == 0) goto L_0x0110;
    L_0x00fc:
        r2 = b;
        r2 = r0.w0(r2);
        if (r2 == 0) goto L_0x010b;
    L_0x0104:
        r27.x0();
        r27.y0();
        goto L_0x00f6;
    L_0x010b:
        r15 = c.a.a.d0.a.a(r27, r28);
        goto L_0x00f6;
    L_0x0110:
        r27.r();
        goto L_0x00d3;
    L_0x0114:
        r7 = r13;
    L_0x0115:
        r13 = r18;
        r10 = 0;
        goto L_0x0021;
    L_0x011a:
        r26 = r6;
        r18 = r13;
        r13 = r7;
        if (r11 == 0) goto L_0x0124;
    L_0x0121:
        r27.r();
    L_0x0124:
        if (r15 == 0) goto L_0x0142;
    L_0x0126:
        r0 = r15.c();
        if (r0 == 0) goto L_0x0140;
    L_0x012c:
        r0 = r15.a;
        r2 = 0;
        r0 = r0.get(r2);
        r0 = (c.a.a.f0.a) r0;
        r0 = r0.b;
        r0 = (android.graphics.PointF) r0;
        r0 = r0.equals(r3, r3);
        if (r0 == 0) goto L_0x0140;
    L_0x013f:
        goto L_0x0142;
    L_0x0140:
        r0 = 0;
        goto L_0x0143;
    L_0x0142:
        r0 = 1;
    L_0x0143:
        if (r0 == 0) goto L_0x0146;
    L_0x0145:
        r15 = 0;
    L_0x0146:
        if (r13 == 0) goto L_0x016a;
    L_0x0148:
        r0 = r13 instanceof c.a.a.b0.j.i;
        if (r0 != 0) goto L_0x0168;
    L_0x014c:
        r0 = r13.c();
        if (r0 == 0) goto L_0x0168;
    L_0x0152:
        r0 = r13.b();
        r2 = 0;
        r0 = r0.get(r2);
        r0 = (c.a.a.f0.a) r0;
        r0 = r0.b;
        r0 = (android.graphics.PointF) r0;
        r0 = r0.equals(r3, r3);
        if (r0 == 0) goto L_0x0168;
    L_0x0167:
        goto L_0x016a;
    L_0x0168:
        r0 = 0;
        goto L_0x016b;
    L_0x016a:
        r0 = 1;
    L_0x016b:
        if (r0 == 0) goto L_0x016e;
    L_0x016d:
        r13 = 0;
    L_0x016e:
        if (r1 == 0) goto L_0x018e;
    L_0x0170:
        r0 = r1.c();
        if (r0 == 0) goto L_0x018c;
    L_0x0176:
        r0 = r1.a;
        r2 = 0;
        r0 = r0.get(r2);
        r0 = (c.a.a.f0.a) r0;
        r0 = r0.b;
        r0 = (java.lang.Float) r0;
        r0 = r0.floatValue();
        r0 = (r0 > r3 ? 1 : (r0 == r3 ? 0 : -1));
        if (r0 != 0) goto L_0x018c;
    L_0x018b:
        goto L_0x018e;
    L_0x018c:
        r0 = 0;
        goto L_0x018f;
    L_0x018e:
        r0 = 1;
    L_0x018f:
        if (r0 == 0) goto L_0x0196;
    L_0x0191:
        r6 = r26;
        r20 = 0;
        goto L_0x019a;
    L_0x0196:
        r20 = r1;
        r6 = r26;
    L_0x019a:
        if (r6 == 0) goto L_0x01c5;
    L_0x019c:
        r0 = r6.c();
        if (r0 == 0) goto L_0x01c3;
    L_0x01a2:
        r0 = r6.a;
        r1 = 0;
        r0 = r0.get(r1);
        r0 = (c.a.a.f0.a) r0;
        r0 = r0.b;
        r0 = (c.a.a.f0.d) r0;
        r1 = r0.a;
        r2 = 1065353216; // 0x3f800000 float:1.0 double:5.263544247E-315;
        r1 = (r1 > r2 ? 1 : (r1 == r2 ? 0 : -1));
        if (r1 != 0) goto L_0x01bf;
    L_0x01b7:
        r0 = r0.b;
        r0 = (r0 > r2 ? 1 : (r0 == r2 ? 0 : -1));
        if (r0 != 0) goto L_0x01bf;
    L_0x01bd:
        r0 = 1;
        goto L_0x01c0;
    L_0x01bf:
        r0 = 0;
    L_0x01c0:
        if (r0 == 0) goto L_0x01c3;
    L_0x01c2:
        goto L_0x01c5;
    L_0x01c3:
        r0 = 0;
        goto L_0x01c6;
    L_0x01c5:
        r0 = 1;
    L_0x01c6:
        if (r0 == 0) goto L_0x01cb;
    L_0x01c8:
        r19 = 0;
        goto L_0x01cd;
    L_0x01cb:
        r19 = r6;
    L_0x01cd:
        if (r14 == 0) goto L_0x01ed;
    L_0x01cf:
        r0 = r14.c();
        if (r0 == 0) goto L_0x01eb;
    L_0x01d5:
        r0 = r14.a;
        r1 = 0;
        r0 = r0.get(r1);
        r0 = (c.a.a.f0.a) r0;
        r0 = r0.b;
        r0 = (java.lang.Float) r0;
        r0 = r0.floatValue();
        r0 = (r0 > r3 ? 1 : (r0 == r3 ? 0 : -1));
        if (r0 != 0) goto L_0x01eb;
    L_0x01ea:
        goto L_0x01ed;
    L_0x01eb:
        r2 = 0;
        goto L_0x01ee;
    L_0x01ed:
        r2 = 1;
    L_0x01ee:
        if (r2 == 0) goto L_0x01f1;
    L_0x01f0:
        r14 = 0;
    L_0x01f1:
        if (r18 == 0) goto L_0x0214;
    L_0x01f3:
        r0 = r18.c();
        r12 = r18;
        if (r0 == 0) goto L_0x0211;
    L_0x01fb:
        r0 = r12.a;
        r1 = 0;
        r0 = r0.get(r1);
        r0 = (c.a.a.f0.a) r0;
        r0 = r0.b;
        r0 = (java.lang.Float) r0;
        r0 = r0.floatValue();
        r0 = (r0 > r3 ? 1 : (r0 == r3 ? 0 : -1));
        if (r0 != 0) goto L_0x0212;
    L_0x0210:
        goto L_0x0216;
    L_0x0211:
        r1 = 0;
    L_0x0212:
        r9 = 0;
        goto L_0x0217;
    L_0x0214:
        r12 = r18;
    L_0x0216:
        r9 = 1;
    L_0x0217:
        if (r9 == 0) goto L_0x021c;
    L_0x0219:
        r25 = 0;
        goto L_0x021e;
    L_0x021c:
        r25 = r12;
    L_0x021e:
        r0 = new c.a.a.b0.j.l;
        r16 = r0;
        r17 = r15;
        r18 = r13;
        r24 = r14;
        r16.m5151init(r17, r18, r19, r20, r21, r22, r23, r24, r25);
        return r0;
        */
        throw new UnsupportedOperationException("Method not decompiled: c.a.a.d0.c.a(c.a.a.d0.h0.c, c.a.a.f):c.a.a.b0.j.l");
    }
}
